package com.erp.erp_ui.Activiti.service;

import com.erp.erp_entitys.Process.ProcessEntity;

import java.util.List;

/**
 * 流程服务接口
 */
public interface IProcessSerivce {
    boolean updateStatus(String processDefKey,String bid,String spstatus);

    /**
     * 流程与业务编码、业务总额关联
     * @param processEntity
     * @return
     */
    int insert(ProcessEntity processEntity);

    /**
     *
     */
    ProcessEntity queryById(String processId);
    List<ProcessEntity> queryListById(String processIds);
}
